package pers.qianyu.module.system.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import pers.qianyu.module.core.comm.HttpResult;

/**
 * @author mizzle rain
 * @date 2021-04-16 15:35
 */
@Api(tags = "测试相关接口")
@RestController
public class PingController {
    @ApiOperation("测试服务是否正常")
    @GetMapping("/ping")
    public HttpResult<?> ping() {
        return HttpResult.okWithMessage("welcome to use lamb api");
    }
}
